package com.isdepci.project.carbon.service.impl;

import com.isdepci.project.carbon.domain.BWeldHeatEmissionParameter;
import com.isdepci.project.carbon.mapper.BWeldHeatEmissionParameterMapper;
import com.isdepci.project.carbon.service.IBWeldHeatEmissionParameterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 切焊加热Service业务层处理
 *
 * @author isdepci
 * @date 2025-03-29
 */
@Service
public class BWeldHeatEmissionParameterServiceImpl implements IBWeldHeatEmissionParameterService
{
    @Autowired
    private BWeldHeatEmissionParameterMapper bWeldHeatEmissionParameterMapper;

    /**
     * 查询切焊加热
     */
    @Override
    public BWeldHeatEmissionParameter selectBWeldHeatEmissionParameterById(Long id)
    {
        return bWeldHeatEmissionParameterMapper.selectBWeldHeatEmissionParameterById(id);
    }

    /**
     * 查询切焊加热列表
     */
    @Override
    public List<BWeldHeatEmissionParameter> selectBWeldHeatEmissionParameterList(BWeldHeatEmissionParameter bWeldHeatEmissionParameter)
    {
        return bWeldHeatEmissionParameterMapper.selectBWeldHeatEmissionParameterList(bWeldHeatEmissionParameter);
    }

    /**
     * 新增切焊加热
     */
    @Override
    public int insertBWeldHeatEmissionParameter(BWeldHeatEmissionParameter bWeldHeatEmissionParameter)
    {
        return bWeldHeatEmissionParameterMapper.insertBWeldHeatEmissionParameter(bWeldHeatEmissionParameter);
    }

    /**
     * 修改切焊加热
     */
    @Override
    public int updateBWeldHeatEmissionParameter(BWeldHeatEmissionParameter bWeldHeatEmissionParameter)
    {
        return bWeldHeatEmissionParameterMapper.updateBWeldHeatEmissionParameter(bWeldHeatEmissionParameter);
    }

    /**
     * 批量删除切焊加热
     */
    @Override
    public int deleteBWeldHeatEmissionParameterByIds(Long[] ids)
    {
        return bWeldHeatEmissionParameterMapper.deleteBWeldHeatEmissionParameterByIds(ids);
    }

    /**
     * 删除切焊加热信息
     */
    @Override
    public int deleteBWeldHeatEmissionParameterById(Long id)
    {
        return bWeldHeatEmissionParameterMapper.deleteBWeldHeatEmissionParameterById(id);
    }
}
